﻿alter table [dbo].[LogEntry] add constraint [FK_LogEntry_AppDomain] foreign key (AppDomainId) references [AppDomain](AppDomainId)